﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TwoPageView3 {
    public class TpvFileInfo {
        public string   ActualPath       { get { return mActualPath; } }
        public string   DisplayPath      { get { return mDisplayPath; } }
        public long     Length           { get { return mFileLength; } }
        public DateTime LastWriteTimeUtc { get { return mLastWriteTimeUtc;  } }
        public int OrdinalOnDirectory    { get { return mOrdinalOnDirectory; } }

        private string   mActualPath;
        private string   mDisplayPath;
        private int      mOrdinalOnDirectory;
        private long     mFileLength;
        private DateTime mLastWriteTimeUtc;

        public TpvFileInfo(string actualPath, string displayPath, int ordinalOnDirectory, long fileLength, DateTime lastWriteTimeUtc) {
            mActualPath       = actualPath;
            mDisplayPath      = displayPath;
            mOrdinalOnDirectory = ordinalOnDirectory;
            mFileLength       = fileLength;
            mLastWriteTimeUtc = lastWriteTimeUtc;
        }
    }
}
